home *** CD-ROM | disk | FTP | other *** search
-
- (provide (quote gp))
-
- (defconst gp-chap3 "pari:doc/usersch3.tex" "\
- The TeX source for chapter 3 of the PARI-GP manual")
-
- (defconst gp-file-name "pari:bin/gp.68881" "\
- The file name of the gp executable file")
-
- (defconst gp-man-dvi "pari:doc/users.dvi" "\
- dvi version of the manual")
-
- (defconst gp-menu "pari:elisp/pari.menu" "\
- menu file")
-
- (defconst gp-dvi-preview "xdvi -s 3" "\
- dvi previewer (and options)")
-
- (defvar gp-stack-size "1000000" "\
- Default stack size: passed to the progam gp.")
-
- (defvar gp-buffer-size "30000" "\
- Default buffer size: passed to the progam gp.")
-
- (defvar gp-prime-limit "500000" "\
- Default prime limit: passed to the progam gp.")
-
- (defvar gp-prompt-for-args nil "\
- A non-nil value makes M-x gp act like C-u M-x gp,
- ie prompt for the command line arguments.")
-
- (setq gp-temp-file (make-temp-name "t:gp_"))
-
- (defvar gp-prompt-pattern "---- (type return to continue) ----\\|\\?[
- ]*" "Regexp used to match gp prompts.
- can be set with gp-set-prompt (bound to M-\\ p)")
-
- (defconst gp-c-array (make-vector 509 0) "\
- obarray used fo completing gp command names")
-
- (defvar gp-map (make-sparse-keymap) "\
- Local keymap used in buffer *PARI*.")
-
- (define-key gp-map "
- " (quote gp-send-input))
-
- (define-key gp-map "" (quote gp-copy-input))
-
- (define-key gp-map "" (quote gp-complete))
-
- (define-key gp-map "Üp" (quote gp-set-prompt))
-
- (define-key gp-map "Üt" (quote gp-meta-t))
-
- (define-key gp-map "Üd" (quote gp-meta-d))
-
- (define-key gp-map "Ür" (quote gp-meta-r))
-
- (define-key gp-map "Üw" (quote gp-meta-w))
-
- (define-key gp-map "Üv" (quote gp-meta-v))
-
- (define-key gp-map "Üx" (quote gp-meta-x))
-
- (define-key gp-map "Üs" (quote gp-meta-s))
-
- (define-key gp-map "Üa" (quote gp-meta-a))
-
- (define-key gp-map "Üb" (quote gp-meta-b))
-
- (define-key gp-map "Üm" (quote gp-meta-m))
-
- (define-key gp-map "Ük" (quote gp-meta-k))
-
- (define-key gp-map "Üq" (quote gp-meta-q))
-
- (define-key gp-map "¿" (quote gp-get-man-entry))
-
- (define-key gp-map "Üc" (quote gp-menu))
-
- (define-key gp-map "Ü\\" (quote gp-break-long-line))
-
- (define-key gp-map "" (quote gp-interrupt))
-
- (defvar gp-process nil "\
- ")
-
- (defvar gp-man-process nil "\
- ")
-
- (defun gp (flag) "\
-
- Open a buffer and a window for the execution of gp.
-
- The following bindings are available:
- \\{gp-map}
-
- The variables
- gp-file-name gp-stack-size gp-buffer-size gp-prime-limit
- determine the command line that starts gp.
- To override the default settings, give gp a prefix argument.
- C-u M-x gp ." (interactive "P") (byte-code "ÁÑÒ!dbÓ!
ÔÕ!Ö!= Á × ØÙÚÛ!Ü!ÝÞ!@ ßà
- á$ßâã$ßäå$ßæ
- ç$R è èQc`éêÒëì P%í îï\"ðñò!óò!\"))*ôõ\"" [gp-process nil major-mode mode-name gp-map mode-line-process gp-menu flag gp-prompt-for-args gp-command gp-file-name gp-stack-size gp-buffer-size gp-prime-limit gp-begin shell-file-name gp-version switch-to-buffer "*PARI*" processp intern "run" process-status kill-all-local-variables gp "GP" run-hooks gp-mode-hook use-local-map (": %s") gp-completion-file gp-read-input "Gp executable ?" "" "Stack size ?" " -s " "Buffer size ?" " -b " "Prime limit ?" " -p " "
- " start-process "pari" "-c" "stty nl; exec " gp-wait-for-output re-search-backward "Version *\\([.0-9]*\\)" buffer-substring match-beginning 1 match-end set-process-sentinel gp-sentinel] 21))
-
- (defun gp-read-input (prompt default sep flag) "\
- If flag is non-nil, reads string then if string is \"\" uses default.
- If flag is nil then string is the default.
- If resulting string is not \"\" prepends sep.
- As a special case, if string is a space, return \"\"." (byte-code " Å
- ÆÇR! ÈÉ\"( ÈÉ\"\" É% P6 ÈÊ\"3 É6 P)" [string flag prompt default sep read-input " (Default " ") " equal "" " "] 6))
-
- (defun gp-sentinel (proc msg) "\
- Sentinel for the gp-process in buffer *PARI*." (byte-code "ÇÈ!